package ch.schlegl.fastsvn.json;


public class Revision {
	private Long rev;
	private String message;
	private String author;
	private boolean matchingpath;
	private String date;

	public Revision(Long rev, String message, String author,
			boolean matchingpath, String date) {
		super();
		this.rev = rev;
		this.message = message;
		this.author = author;
		this.matchingpath = matchingpath;
		this.date = date;
	}

	public Long getRev() {
		return rev;
	}

	public void setRev(Long rev) {
		this.rev = rev;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public boolean isMatchingpath() {
		return matchingpath;
	}

	public void setMatchingpath(boolean matchingpath) {
		this.matchingpath = matchingpath;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

    @Override
    public String toString() {
        return "Revision{" +
                "rev=" + rev +
                ", message='" + message + '\'' +
                ", author='" + author + '\'' +
                ", matchingpath=" + matchingpath +
                ", date='" + date + '\'' +
                '}';
    }
}
